﻿using System;
using Unity;
using Unity.Interception.PolicyInjection.Pipeline;
using Unity.Interception.PolicyInjection.Policies;

namespace NCP.Core.IoC
{
    [AttributeUsage(System.AttributeTargets.All, AllowMultiple = false)]
    public class OperLogAttribute : HandlerAttribute
    {
        public override ICallHandler CreateHandler(IUnityContainer container)
        {
            return new OperLogHandler();
        }
    }
}
